package com.yang.mapper;
import com.yang.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ProductMapper {
    Double selectTurnover(String format);

    List<Product> selectAllProducts();

    List<Product> selectProductsByName(String name);

    void insertProduct(Product product);
}
